package com.demonlover.oauth2.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demonlover.oauth2.resource.domain.ContentCategory;
import com.demonlover.oauth2.resource.domain.ContentCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author  WuChao
 * @date  2020/6/3 11:59
 * @version 1.0
 */
public interface ContentCategoryMapper extends BaseMapper<ContentCategory> {
    long countByExample(ContentCategoryExample example);

    int deleteByExample(ContentCategoryExample example);

    List<ContentCategory> selectByExample(ContentCategoryExample example);

    int updateByExampleSelective(@Param("record") ContentCategory record, @Param("example") ContentCategoryExample example);

    int updateByExample(@Param("record") ContentCategory record, @Param("example") ContentCategoryExample example);
}